搜索资源列表
Java-run
- 1. 有一个南北向的桥,只能容纳一个人,现桥的两边分别有10人和12人,编制一个多线程程序让这些人到达对岸,每个人用一个线程表示,桥为共享资源。 2. 利用多线程编写龟兔赛跑程序。 乌龟:速度慢,休息时间短; 兔子:速度快,休息时间长; -1. There is a north-south bridge can only accommodate one person is on both sides of the bridge 10 and 1
ThreadPerMessage
- 线程间的同步,并采用了java线程的ThreadPerMessage设计模式~ -Synchronization between threads and using design patterns java thread ThreadPerMessage ~
thread
- Java多线程的两种实现方式,并通过代码分析了两种实现方式的区别以及选择-Java multi-threading implemented in two ways, and through code analysis, the difference between the two implementations and choose
Thread
- Java线程例子,通过简单的例子对线程进行说明,方便理解-Java threads example, through a simple example of the thread descr iption, easy to understand
Java
- 线程同步优先级问题,钙离子简单易懂,一目了然。-Priority thread synchronization problems, calcium easy to understand at a glance.
21
- 1. 能使用drawImage()方法显示图像,并结合线程类sleep()方法编写简单动画程序。 2. 能在小程序中使用play()方法播放背景音乐、并能选择声音文件进行播放。 3. 能编写图像缩放显示、“空中飞翔”简单动画、音乐播放等程序。 实验内容: -1. Can use the drawImage () method to display images, combined with the Thread class sleep () method to write sim
java
- 假定,现有50张车票,分别有两个线程同时买票,编写的程序-there are 50 chance and we have 2 thread write the program
MyQQ
- 自己用java写的简易聊天室,主要用到了线程的概念!-it is described by java. it is a small project about chatroom. The IDE is myeclipse. you can learn something about thread through it!
src
- 距离向量算法的实现,利用多线程机制,进行结点初始化流程程序设计;进行结点距离向量消息的收发-Distance vector algorithm, using multi-thread mechanism for node initialization process programming to nodes send and receive messages from the vector
java socket 编程
- 本例包含服务器端和客户端,多线程,每线程多次发送,Eclipse工程,启动服务器使用 nu.javafaq.server.NioServer,启动客户端使用 nu.javafaq.client.Nio-This example contains the server side and client, multi-threaded, each thread repeatedly sent, Eclipse project, start the server using the nu.javafaq
java
- 该代码加载一山水图,然后再通过线程控制,有一个流动的水面,产生像水面倒影一样的。-The code loads a landscape plan, and then controlled by the thread, there is a flow of water to produce the same as the surface reflection.
src
- implements a thread that send data over a udp connection-implements a thread that send data over a udp connection...
Java_Thread_Programming_Information
- Java线程编程资料Java Thread Programming Information,理解线程对面试的朋友很有帮助-Java thread programming information Java Thread Programming Information, understanding friends, very helpful thread on the interview
NioHttpSvr.tar
- nio的主要作用就是用来解决速度差异的。举个例子:计算机处理的速度,和用户按键盘的速度。这两者的速度相差悬殊。如果按照经典的方法:一个用户设定一个线程,专门等待用户的输入,无形中就造成了严重的资源浪费:每一个线程都需要珍贵的cpu时间片,由于速度差异造成了在这个交互线程中的cpu都用来等待-nio' s main role is to solve the speed difference. For example: computer processing speed, and the us
JavaThreadSynchronizationSample
- Java 线程同步示例Java Thread Synchronization Sample-Java Thread Synchronization Sample
Javathread
- 这是专门讲java 网络编程中的 thread线程,socket,适合中级开发者-This is specifically about network programming java threads in the thread, socket, suitable for intermediate developers
Java_thread_groups_managed_achieve_classic_code.ra
- Java实现线程组群管理经典代码Java thread groups managed to achieve the classic code-Java thread groups managed to achieve the classic code
Java_programming_code_for_thread_synchronization_C
- Java编程实现线程同步经典代码Java programming code for thread synchronization Classic-Java programming code for thread synchronization Classic
Java_thread_control_to_realize_classic_code
- Java实现对线程的控制经典代码Java thread control to realize the classic code-Java thread control to realize the classic code
synchronizedTest
- 一个关于Java线程同步的例子,个人觉得很经典,因此和大家分享下,有助于初学者的-One example on the Java thread synchronization, personal feel very classic, so and share with you, help for beginners ... ...